package com.huzz.util.security;

import cn.dev33.satoken.stp.StpUtil;

/**
 * @author huzz
 */
public class SecurityUtil {

    /**
     * 获取当前登录id
     * @return
     */
    public static String getCurrentUserId() {
        return (String) StpUtil.getLoginId();
    }

}
